package
{
	import com.pesilo.base.BaseComponent;
	import com.pesilo.mvc.controller.ApplicationFacade;
	import com.pesilo.mvc.view.component.show.ShowComponent;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.geom.Point;
	
	[SWF(width="960",height="600")]
	public class Pesilo extends BaseComponent
	{
		public var showContainer:ShowComponent;
		
		public function Pesilo()
		{
			stage.align=StageAlign.TOP_LEFT;
			stage.scaleMode=StageScaleMode.NO_SCALE;
			super();
		}
		
		override public function initUI():void{
			showContainer=new ShowComponent();
			this.addChild(showContainer);
		}
		
		override public function initLocation():void{
			
		}
		
		override public function initEvent(b:Boolean=true):void{
			if(b){
				
			}else{
				
			}
		}
		
		override public function start():void{
			ApplicationFacade.getInstance(ApplicationFacade.NAME).startup(this);
			
			
			ApplicationFacade.getInstance(ApplicationFacade.NAME).sendNotification(ApplicationFacade.SHOW_WATCH_EVENT);
		}
	}
}